import { debug } from "util";


//状态过滤
export  function SatusFilter(val){
    switch(val){
        case 0:
        return '离线'
        break;
        case 1:
        return '在线'
        break;
        case 2:
        return '重启中'
        break;
    }
} 

export  function logFilter(val){
    switch(val){
        case 1:
        return '报警'
        break;
        case 2:
        return '事件'
        break;
    }
} 